<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'login.jsp' starting page</title>
    

  </head>
  
  <body>
   	
   		<form action="<%=request.getContextPath() %>/login.do">
   			username:<input type="text" name="username" /><br/><br/>
   			password:<input type="text" name="password" /><br/><br/>
   			<input type="submit" />
   		</form>
	
  </body>
</html>
